package com.hn.service.Impl;

import com.hn.dao.BdMapDao;
import com.hn.pojo.BdMap;
import com.hn.service.BdMapService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @作者 : wangchangdian
 * @创建时间 : 2019/5/15 - 1:45
 */
@Service("bdMapService")
public class BdMapServiceImpl implements BdMapService {
    @Resource
    BdMapDao bdMapDao;
    @Override
    public void saveMap(BdMap bdMap) {
        bdMapDao.saveMap(bdMap);

    }

    @Override
    public List<BdMap> getMapCover() {
        return bdMapDao.getMapCover();
    }

    @Override
    public BdMap findCoverByIndex(String Coveroord) {
        return bdMapDao.findCoverByIndex(Coveroord);
    }

    @Override
    public void deleCoverByIndex(String Coveroord) {
        bdMapDao.deleCoverByIndex(Coveroord);
    }

    @Override
    public void editCoverByIndex(BdMap bdMap) {
        bdMapDao.editCoverByIndex(bdMap);
    }

}
